ci: Gate manual release workflows on wait-for-checks#70
Merged
Conversation
Merge _check_code.yaml, _check_package.yaml, and _tests.yaml into a single _checks.yaml that exposes each check as a job. Reduces duplication across on_master.yaml and on_pull_request.yaml and gives every check the shared `Checks /` prefix. unit_tests carries `if: inputs.run_tests` so on_master.yaml can keep skipping tests for "ci" and "docs" commits. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace each release workflow's inline code/tests checks with a `wait-for-checks` step that verifies the `Checks` workflow already passed on the dispatch commit (it runs via `on_master.yaml` on every push). Adds the gate to the stable and beta release workflows that previously had none. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
janbuchar
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the CI consolidation and
wait-for-checksadoption fromcrawlee-pythontoapify-shared-python. See apify/crawlee-python#1913 for the original rationale and PR description; the follow-up permission fixes from #1914 and #1915 are referenced for completeness (this repo has no docs workflows so no extra permission grants are needed).Two commits:
_check_code.yaml,_check_package.yaml, and_tests.yamlinto a single_checks.yaml. Every check now carries the sharedChecks /prefix.unit_testsis gated on arun_testsinput soon_master.yamlcan keep skipping tests forci/docscommits.code_checks/testsjobs inmanual_release_stable.yamlandmanual_release_beta.yamlwith anapify/actions/wait-for-checks@v1.2.0step that verifies theChecksworkflow already passed on the dispatch commit (it runs viaon_master.yamlon every push).